import { $axios } from '@/api/requist'

// console.log($axios);

//登录接口
export const login = (params) => {
    return $axios.post('login', params).then(res => {
        console.log(res);
        return Promise.resolve(res)
    }).catch(err => {
        console.log(err);
    })
}